package com.ymatou.iapi.godmch.parameter;
import java.math.BigDecimal;

import com.ymt.base.BaseBean;
/**
*新增代理类型Bean
*FreeMaker Template自动生成代码
*/
public class editagentBean extends BaseBean{
 
	/**商户id*/
	private int mchId;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.editagentBean#mchId
	 */
	public int getMchId(){
 
		return mchId;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.editagentBean#mchId
	 */
	public void setMchId(int mchId){
 
		this.mchId = mchId;
 
	}
	
	
	

	/**代理类型id*/
	private int agentType;
	public int getAgentType(){
		return agentType;
	}
	public void setAgentType(int agentType){
		this.agentType = agentType; 
	}
	
	
	
	/**代理类型标题*/
	private String title;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.editagentBean#title
	 */
	public String getTitle(){
 
		return title;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.editagentBean#title
	 */
	public void setTitle(String title){
 
		this.title = title;
 
	}
	
	
	/**拆扣，可为空．例子：9折为0.9，85折为0.85，null和0代表没有折扣*/
	private BigDecimal discount;
	public BigDecimal getDiscount(){
		return discount;
	}
	public void setDiscount(BigDecimal discount){
 
		this.discount = discount;
 
	}
	
	
	/**代理模式 1自主选货，2.自动继承*/
	private Integer agentModel;

	public Integer getAgentModel(){
		return agentModel;
	}
	public void setAgentModel(Integer agentModel){
		this.agentModel = agentModel;
	}
	
	
	
	
	/**返佣比例，agentMode = 分销小店有效，其它场景设置为 0*/
	private BigDecimal rebateRate;
	public BigDecimal getRebateRate(){
		return rebateRate;
	}
	public void setRebateRate(BigDecimal rebateRate){
		this.rebateRate = rebateRate;
	}
}
